package com.ylkj.member.service.impl;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ylkj.common.entity.QuestionInfo;
import com.ylkj.member.dao.QuestionInfoDAO;
import com.ylkj.member.service.QuestionInfoService;

@Service
public class QuestionInfoServiceImpl implements QuestionInfoService {
    private static final Logger logger = LoggerFactory.getLogger(QuestionInfoServiceImpl.class);

	@Autowired
	private QuestionInfoDAO questionInfoDAO;
	
	@Override
	public List<QuestionInfo> queryQuestionInfoByPara(Map<String, Object> para) {
		return questionInfoDAO.queryQuestionInfoByPara(para);
	}

	@Override
	public void addQuestionInfo(QuestionInfo questionInfo) {
		this.questionInfoDAO.addQuestionInfo(questionInfo);
	}

	@Override
	public void updateQuestionInfo(QuestionInfo questionInfo) {
		this.questionInfoDAO.updateQuestionInfo(questionInfo);
		
	}

	@Override
	public void delQuestionInfo(QuestionInfo questionInfo) {
		this.questionInfoDAO.delQuestionInfo(questionInfo);
	}

}
